home *** CD-ROM | disk | FTP | other *** search
- echo off
- . testfind.bat %1 revised 14-aug-83
- findfile %1
- if errorlevel 5 goto notfound
- if errorlevel 3 goto disk3
- if errorlevel 2 goto disk2
- if errorlevel 1 goto disk1
- echo found %1 on drive A:
- goto exit
- :disk1
- echo found %1 on drive B:
- goto exit
- :disk2
- echo found %1 on drive C:
- goto exit
- :disk3
- echo found %1 on drive D:
- goto exit
- :notfound
- echo file not found
- :exit
- l 11 echo 11
- if errorlevel 10 echo 10
- if errorlevel 9 echo 9
- if